Q3ViewerSetBounds
You can use theQ3ViewerSetBounds
function to set the rectangle that bounds a viewer's pane.
OSErr Q3ViewerSetBounds ( TQ3ViewerObject theViewer, Rect *bounds);
theViewer
- A viewer object.
bounds
- The desired viewer pane for the specified viewer object. This rectangle is specified in window coordinates, where the origin (0, 0) is the upper-left corner of the window and values increase to the right and down the window.
DESCRIPTION
TheQ3ViewerSetBounds
function sets the bounds of the viewer pane of the viewer object specified by thetheViewer
parameter to the rectangle specified by thebounds
parameter.
- IMPORTANT
- Any changes to a viewer's bounds will not be visible until you call
Q3ViewerDraw
with the specified viewer object.![]()